QT -= gui

TEMPLATE = lib
DEFINES += CONFIGXML_LIBRARY

CONFIG += c++17 warn_off
CONFIG += shared plugin
CONFIG += unversioned_libname unversioned_soname

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += $$PWD/../include/

SOURCES += \
    configxml.cpp \
    ../include/xmlhelper.cpp \
    ../include/tinyxml2/tinyxml2.cpp

HEADERS += \
    configxml.h \
    ../include/xmlhelper.h

DESTDIR += $$PWD/../bin

# Default rules for deployment.
unix {
    target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target
